package cn.itcast.domain.system;

import lombok.*;

import java.io.Serializable;

@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Dept implements Serializable {
    private String id;
    private String deptName;
    private Integer state;
    private String companyId;
    private String companyName;
    // 当前部门·关联·的父部门对象，对应表中的parent_id外键.  association
    private Dept parent;
}
